<?php 
/**
* logout.php
* 退出页面
*/
define('ACC', true);

require('./include/init.php');

if (empty($_SESSION['username'])) {
	header('location: index.php');	
}else {

session_destroy();
header('location: index.php');
}



?>